import React from "react";
import useScrollPos from "./hooks/scroll-hook";
// import useUserContext from "./hooks/user-hook";

export default function MyHook2() {
  // const [user, token, theme] = useUserContext();
  // console.log(user, token, theme);
  const position = useScrollPos();
  return (
    <div style={{ padding: "1000px 0" }}>
      <h1>MyHook2{position}</h1>
    </div>
  );
}
